---
import Architecture from '../architecture.astro';

export async function getStaticPaths() {
  const VALID_TYPES = ['domains', 'services', 'messages'] as const;
  return VALID_TYPES.map((type) => ({
    params: { type },
  }));
}

const { type } = Astro.params;
---

<Architecture type={type} />
